package com.sanpu.kxe.business.main.contract;

import com.sanpu.kxe.base.IBaseExtraView;
import com.sanpu.kxe.base.IBasePresenter;
import com.sanpu.kxe.business.main.bean.CertificationOldOutput;
import com.sanpu.kxe.business.main.bean.CertificationOutput;

/**
 * Description：实名认证contract
 * Created by 薛勇军 on 2018/7/17.
 */

public interface CertificationContract {

    interface View extends IBaseExtraView<Presenter> {

        /**
         * 显示view
         */
        void showViewData(CertificationOldOutput output);
    }

    interface Presenter extends IBasePresenter {

        /**
         * 初始化数据
         */
        void initDataView(CertificationOutput certificationOutput);

        /**
         * 提交认证信息
         * @param bankPhoneNumber 预留手机号
         */
        void onCommitData(String bankCardNumber, String bankPhoneNumber);
    }
}
